import request from '/@/utils/request';

export function getAuthorize(objectId?: String) {
    return request({
        url: '/api/authorize/module/query/auth/' + objectId,
        method: 'get',

    });
}

export function saveAuthorize(keyValue: String, params: object) {
    return request({
        url: '/api/authorize/module/save/auth?keyValue=' + keyValue,
        method: 'post',
        data: params,
    });
}